package com.zhenzhen.xszhcp.mapper;

import com.zhenzhen.xszhcp.model.Teacher;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
public interface TeacherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);

    List<Teacher> getTeacherList(Map paramMap);

    Teacher getTeacherByLast();

    Teacher getTeacherBytcard(int tcard);

    List<Teacher> getkechengByteacher(Map paramMap);
}